package cn.jiufungqx.service.impl;

import cn.jiufungqx.entity.TUser;
import cn.jiufungqx.mapper.UserMapper;
import cn.jiufungqx.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, TUser> implements UserService {

    @Override
    public List<TUser> getByName(String username) {
        List<TUser> userList = baseMapper.getByName(username);
        return userList;
    }
}
